﻿using FigureDraw.Diagram;
using FigureDraw.Graphic;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FigureDraw
{
    public abstract class MyShape
    {
        protected double x;
        protected double y;
        
        public MyShape(double x, double y)
        {
            this.x = x;
            this.y = y;
        }

        public abstract void Draw(CommonGraphic graphic);
        public abstract MyShape Clone(BlockDiagram diagram);
    }
}
